package com.service;

import com.alibaba.csp.sentinel.slots.block.BlockException;

public class ExceptionHandle22 {
    public static String flow(BlockException exception) {//写在其他类中必须为静态 返回值必须相同
        exception.printStackTrace();
        System.err.println("点击过快系统已经奔溃");
        return "请不要频繁点击哦！！";
    }

}
